//
//  ViewController.m
//  LZTestLocal
//
//  Created by apple on 16/4/19.
//  Copyright © 2016年 m14a.cn. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UILabel *label = [[UILabel alloc] init];
    label.frame = CGRectMake(100, 100, 100, 30);
    label.backgroundColor = [UIColor redColor];
    //    label.text = [[NSBundle mainBundle] localizedStringForKey:@"Cancel" value:@"Cancel" table:@"Words"];
    // 如果没有指定strings的文件名，就会去加载Localizable.strings文件
    //    label.text = NSLocalizedString(@"Cancel", nil);
    label.text = NSLocalizedStringFromTable(@"Cancel", @"Words", nil);
    [self.view addSubview:label];
}

@end
